import torch as t
import numpy as np

a = np.ones(10)
b=t.from_numpy(a)
print("a=",a)
print("b=",b)